package cn.fjsay.java.demo3;

public class TeacherTest {
    public static void main(String[] args) {
        Teacher teacher=new Teacher();
        //teacher.age=30;
        //teacher.name="张三";
        //System.out.println(teacher);
        teacher.setAge(20);
        teacher.setName("张三");
        System.out.println(teacher);
    }
}
